import Layout from '@/layout'

export default [
  {
    path: "/finance",
    component: Layout,
    name: "finance",
    meta: { title: "财务管理", icon: "el-icon-s-help" },
    children: [
      {
        path: "/finance/income",
        name: "income_index",
        component: () => import("@/views/finance/income/index"),
        meta: { title: "收款单", icon: "table" },
      },
      {
        path: "/finance/payment",
        name: "payment_index",
        component: () => import("@/views/finance/payment/index"),
        meta: { title: "付款单", icon: "table" },
      },
      {
        path: "/finance/unincome",
        name: "finance_unincome",
        component: () => import("@/views/finance/unincome/index"),
        meta: { title: "应收单", icon: "table" },
      },
      {
        path: "/finance/unpaid",
        name: "finance/unpaid",
        component: () => import("@/views/finance/unpaid/index"),
        meta: { title: "应付单", icon: "table" },
      },
    ],
  },
];